diff --git a/tools/marvell/bin_hdr/base.mk b/tools/marvell/bin_hdr/base.mk
index 6e0078a..ad3011a 100755
--- a/tools/marvell/bin_hdr/base.mk
+++ b/tools/marvell/bin_hdr/base.mk
@@ -183,7 +183,11 @@ ifeq "$(CONFIG_ALLEYCAT3)"  "y"
   CFLAGS += -DCONFIG_ALLEYCAT3
 endif
 
-CROSS    = $(CROSS_COMPILE_BH)
+ifneq "$(CROSS_COMPILE_BH)" ""
+  CROSS    = $(CROSS_COMPILE_BH)
+else
+  CROSS    = $(CROSS_COMPILE)
+endif
 LD       = $(CROSS)ld
 CC       = $(CROSS)gcc
 AS       = $(CROSS)as
